package com.formiaomiao.demain.dao;

import com.formiaomiao.demain.model.UserBean;

public interface UserDao {
    //注册
    int registerUser(UserBean record);
    //验证是否注册
    UserBean Checkrepetition(String phone);
    //登录
    UserBean SignInUser(UserBean userBean);
    //修改头像
    int UpdateHead(UserBean userBean);
    //修改密码
    int UpdatePwd(UserBean userBean);
    //修改密码
    int UpdateNickName(UserBean userBean);
    //忘记密码
    int ForgetPwd(UserBean userBean);
    //通过id获取用户名
    UserBean selectUser(int id);
    //通过环信id获取用户id
    UserBean selectUserid(UserBean userBean);
    //通过username获取用户信息
    UserBean usernameselect(UserBean userBean);
    //通过List<username>获取用户信息
    UserBean Listusernameselect(UserBean userBean);
}
